<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>插件列表</title>
	<Pintuer />
</head>
<body>
	<div class="container-layout">
		<!-- 导航位置 -->
		<div class="text-small text-gray height-big">
			<div class="float-left height">
				<span class="icon-home"></span>
				当前位置： 首页 -> 扩展管理 -> 创建插件
			</div>
			<div class="float-right">
				<div class="radius-rounded height">
					<button type="button" onClick="location.href='{?:U('index')?}'" class="button radius-none bg-sub">
						<i class="icon-th-list"></i>
						插件列表
					</button>
					<button type="button" onClick="location.href='{?:U('create')?}'" class="button radius-none">
						<i class="icon-edit"></i>
						创建插件
					</button>
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
		<hr />
		<!-- 导航位置 End -->
		<div class="bg padding border" style="margin-bottom:1px;">创建插件</div>
		<form action="{?:U('create')?}" method="POST">
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">标识名</label>
					<input type="text" name="name" value="Example" class="input"/>
					<span class="text-gray">请输入插件标识</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">插件名</label>
					<input type="text" name="title" value="示列" class="input"/>
					<span class="text-gray">请输入插件中文名称！</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">版本</label>
					<input type="text" name="version" value="0.1" class="input"/>
					<span class="text-gray">请输入插件版本信息！</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">作者</label>
					<input type="text" name="author" value="PHP联盟" class="input"/>
					<span class="text-gray">请输入插件作者昵称！</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">作者邮箱</label>
					<input type="text" name="email" value="Name_Cyu@Foxmail.com" class="input"/>
					<span class="text-gray">请输入插件作者邮箱！</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">描述</label>
					<textarea name="description" id="" cols="30" class="input" rows="6">这是一个插件描述！</textarea>
					<span class="text-gray">请输入插件作用描述</span>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">安装后是否启用</label>
					<label><input type="checkbox" name="status" value="1" checked="checked"> 启用</label>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">是否需要配置</label>
					<label><input type="checkbox" name="config" value="1"> 开启</label>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">开启外部访问</label>
					<label><input type="checkbox" name="has_outurl" value="1"> 开启</label>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">是否需要控制面板 （<span class="text-gray">扩展里已装插件后台列表会出现插件名的列表菜单</span>）</label>
					<label class="checkbox"><input type="checkbox" id="has_adminlist" name="has_adminlist" value="1" /> 需要</label>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<label class="label">钩子方法</label>
					<select name="hooks[]" multiple="multiple" size="10" style="width:450px;">
						<volist name="Hooks" id="vo">
							<option value="{?$vo.name?}" class="input" title="<if condition="$vo['type'] eq 1">控制器<else />视图</if>">{?$vo.name?} ({?$vo.description?})</option>
						</volist>
					</select>
				</div>
				<div class="x7">
				</div>
			</div>
			<div class="line margin-top">
				<div class="x5 padding-right padding-left">
					<button type="submit" class="button bg-sub radius-none">
						<i class="icon-check-square-o"></i>
						提交创建
					</button>
				</div>
				<div class="x7">
				</div>
			</div>
		</form>
	</div>
</body>
</html>